package com.example.hanfu_backend.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("customer")
public class Customer {
    @TableId(value = "customer_id")
    private Integer customerId; // 编号
    @TableField(value = "customer_username")
    private String customerUsername; // 用户名
    @TableField(value = "customer_phone")
    private String customerPhone; // 手机号
    @TableField(value = "customer_password")
    private String customerPassword; // 密码
    @TableField(value = "customer_headimage")
    private String customerHeadImage; // 头像
    @TableField(value = "customer_gender")
    private Character customerGender; // 性别
    @TableField(value = "customer_birthday")
    private LocalDate customerBirthday; // 生日
}
